package com.vv.tools.modules.sys.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.vv.tools.modules.sys.entity.User;
import com.vv.tools.modules.sys.model.UserDTO;

/**
 * <p>
 * 系统用户 服务类
 * </p>
 *
 * @author vv
 * @since 2025-02-19
 */
public interface UserService extends IService<User> {

    User getByUsername(String username);

    boolean addUser(UserDTO userDTO);

    boolean updateUser(UserDTO userDTO);

    boolean deleteUser(Long id);

    Page<UserDTO> page(UserDTO userDTO);

}
